package com.ls.fw.data.bean;

import com.ls.fw.data.enums.JoinType;

public class FromItem {

	private String table1 = "";
	private JoinType joinType = JoinType.LEFT_JOIN;
	private String table2 = "";
	private String table1Field = "";
	private String table2Field = "";
	
	
	public FromItem(String table1, JoinType joinType, String table2,
			String table1Field, String table2Field) {
		super();
		this.table1 = table1;
		this.joinType = joinType;
		this.table2 = table2;
		this.table1Field = table1Field;
		this.table2Field = table2Field;
	}
	
	
	public String getTable1() {
		return table1;
	}
	public void setTable1(String table1) {
		this.table1 = table1;
	}
	public JoinType getJoinType() {
		return joinType;
	}
	public void setJoinType(JoinType joinType) {
		this.joinType = joinType;
	}
	public String getTable2() {
		return table2;
	}
	public void setTable2(String table2) {
		this.table2 = table2;
	}
	public String getTable1Field() {
		return table1Field;
	}
	public void setTable1Field(String table1Field) {
		this.table1Field = table1Field;
	}
	public String getTable2Field() {
		return table2Field;
	}
	public void setTable2Field(String table2Field) {
		this.table2Field = table2Field;
	}
}
